home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / Macintosh Tracker 1.20 / source / Tracker Client Folder / CMyApplication.h < prev    next >
Encoding:
Text File  |  1994-03-23  |  1.7 KB  |  38 lines  |  [TEXT/KAHL]

  1. lingRate ('∫Ssr')
  2. #define keyNumRepeats ('∫Snr')
  3. #define keySpeed ('∫Ssp')
  4. #define keyStereoMix ('∫Ssm')
  5. #define keyLoudness ('∫Svl')
  6. #define keyNumBits ('∫Bit')
  7. #define keySenderPSN ('∫Psn')
  8.  
  9.  
  10. #define FatalErrorUnknown (0)
  11. #define FatalErrorOutOfMemory (1)
  12. #define FatalErrorInternalError (2)
  13. #define FatalErrorCantOpenCompressedFiles (3)
  14. #define FatalErrorCouldntOpenFile (4)
  15. #define FatalErrorCouldntCloseFile (5)
  16. #define FatalErrorNotASong (6)
  17. #define FatalError68020NeededID (7)
  18.  
  19.  
  20. /* this is to override anything you want to change about the default application */
  21. struct    CMyApplication    :    CApplication
  22.     {
  23.         /* */            CMyApplication();
  24.         void            InitMenuBar(void);
  25.         void            DispatchOpenDocument(FSSpec* TheFSSpec);
  26.         void            DoMenuOpen(void);
  27.         void            DoMenuNew(void);
  28.         void            EnableMenuItems(void);
  29.  
  30.         void            LaunchTracker(OSType TrackerCreator);
  31.         void            KillPlayer(ProcessSerialNumber PlayerSN);
  32.         void            SendMessage(ProcessSerialNumber PlayerSN, AppleEvent* Message);
  33.         static    pascal    OSErr    MyHandleOBIT(AppleEvent* theAppleEvent,
  34.                                 AppleEvent* reply, long handlerRefcon);
  35.         static    pascal    OSErr    MyHandleERROR(AppleEvent* theAppleEvent,
  36.                                 AppleEvent* reply, long handlerRefcon);
  37.     };
  38.